package com.datong.server.strategy.calculatePrice;

/**
 * 价格类
 * */
public abstract class StrategyCash {
    private double unit;
    private double number;

    public double getResult(){
        return unit * number;
    }

    public double getUnit() {
        return unit;
    }
    public void setUnit(double unit) {
        this.unit = unit;
    }

    public double getNumber() {
        return number;
    }

    public void setNumber(double number) {
        this.number = number;
    }
}
